package com.wechat.pay.controller;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 微信支付，扫二维码发送支付
 */
@RestController
@RequestMapping("/wxpay")
public class WxPayController {


    @RequestMapping("/bizpayurl")
    public void bizpayurl(@RequestParam ("pr")String pr,
                            @RequestParam ("groupid")String groupid){

        // 扣钱，
        //发通知微信app
        //异步发送请求给支付中心

        return;

    }


}
